import axios from '@/utils/request'

export const getStationsInfo = ()=>{
    let stationsInfo = axios.get('/index/jcdata/fieldDevice/stationsInfo')
    return stationsInfo
}

export const getGccListInfo = (data)=>{
    let gccListInfo = axios.post('/index/jcdata/fieldDevice/gccListInfo',data)
    return gccListInfo
}

export const editGccListInfo = (type,form)=>{
    let editGccListInfo = axios.post('/index/jcdata/fieldDevice/editGccListInfo',{ type,form })
    return editGccListInfo
}

export const editManyGccListInfo = (type,form)=>{
    let editManyGccListInfo = axios.post('/index/jcdata/fieldDevice/editManyGccListInfo',{ type,form })
    return editManyGccListInfo
}